<?php
namespace Admin\Model;
use Think\Model;

class AttrvalueModel extends Model{
  protected $tableName = 'attrval';
  protected $_auto = array(
    array('ctime','time',1,'function'),);
   
  protected $_validate = array(
    array('vname','require','属性值不能空！'),
    array('kid,vname','','数据已经存在！',1,'unique',1),
  	);
 


}


?>